#ifndef UTILS
#define UTILS

namespace cevent {
	#define DELETE(x) if(x != nullptr) {delete x; x = nullptr;}
	#define DELETE_ARR (x) if(x != nullptr) {delete[] x; x = nullptr;}
}

#endif // UTILS